<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
   
<html>
<head>
  <title>Reservations</title>
</head>
<body>
<jsp:include page="Layout/header.jsp"/>
  <h1>Reserve a room</h1>
  <h2>Search Criteria: </h2>
 
  <s:form action="SearchReservation" >
  <h4>
   		<s:select label="Select a Building" 
			headerKey="-1" headerValue="Select Building"
			list="#{'1':all, '2':'Technical Education', '3':'Davis Campus', '4':'SL Community College'}" 
			name="building" 
			value="1" /> 
		<s:select label="Select a Room" 
			headerKey="-1" headerValue="Select Room"
			list="#{'1':all, '2':'Technical Education 103C', '3':'Technical Education 103D', 
			'4':'Technical Education 108', '5':'Technical Education 109F', '6':'Technical Education 109D','7':'Technical Education 109C', '8':'Technical Education 202S', '9':'Technical Education 105', '10':' Technical Education 109B', '11':'Technical Education 110I', '12':'Technical Education 109','13':'Davis Campus 312', '14':'Davis Campus 314', '15':'SL Community College B126', '16':'SL Community College B130'}" 
			name="roomId" 
			value="1" />
	</h4> 
  	<s:textfield name="dateOne" label="Beginning Date" />
    <s:textfield name="dateTwo" label="Ending Date" />
    <s:textfield name="capacity" label="Capacity" />
     <s:textfield name="myQuery" label="Query" />
    <s:radio name="SearchReservation.computer" label="Computers available" list="{'Yes','No'}" />

    <s:submit value="Send" />
  </s:form>
  <p>need:<br/>Implement errors if input not in correct form<br/>3 drop down boxes for date 
    <br/>room options populate from the building selection(auto
    populated from the database)<br/>Yes no radio button for computers available<br/></p>
<jsp:include page="Layout/footer.jsp"/>
</body>
</html>


